// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import ElementUI from "element-ui";
import './theme/index.css';
import Vue from "vue";
// import "element-ui/lib/theme-chalk/index.css";
import App from "./App";
import router from "./router";
// 引入echarts
import echarts from "echarts";
import moment from 'moment' //导入文件
import './assets/icon/iconfont.css';
import './assets/css/global.css'
import 'element-ui/lib/theme-chalk/index.css'
import '@/components/ef/index.css'

import http from '@/api/config';
Vue.use(ElementUI);
Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;
Vue.prototype.$moment = moment; //赋值使用
Vue.prototype.$http = http;
moment.locale('zh-cn'); //需要汉化

/* eslint-disable no-new */
new Vue({
    el: "#app",
    router,
    components: {
        App
    },
    template: "<App/>"
});
